package com.lehe.controller.admin;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lehe.dao.GameUserDao;
import com.lehe.entry.dbbean.GameUserDto;

@RequestMapping("admin/tt")
@Controller
public class TestController {
	
	@Value("${config.levelCount}")
    private String levelCount;
	
	@Value("${config.leve1Persent}")
    private Integer leve1Persent;
	
	@Value("${config.leve2Persent}")
    private Integer leve2Persent;
	
	@Value("${config.leve3Persent}")
    private Integer leve3Persent;
	
	@Autowired
	GameUserDao gameUserDao;
	
	
	@RequestMapping("")
	@ResponseBody
    public String index(Model model){
        return "levelCount="+levelCount+",leve1Persent="+leve1Persent+",leve2Persent="+leve2Persent+",leve3Persent="+leve3Persent;
    }
}
